package com.bst.etl.datax.dto;

import com.bst.datatx.core.biz.model.JobParam;

import java.io.Serializable;
import java.util.List;

/**
 * 用于启动任务接收的实体
 *
 * @author jingwk
 * @ClassName TriggerJobDto
 * @Version 1.0
 * @since 2019/12/01 16:12
 */
public class TriggerJobDto implements Serializable {

    private String naFilter;

    private String executorParam;

    private int templateId;

    private String dayBegin;

    private String dayEnd;

    private String type; // datax,inter 接口, dw数仓,dm数据集市，all 全部

    private List<Long> jobIds; //仅支持type!=all时操作

    private List<JobParam> jobParams;

    public List<JobParam> getJobParams() {
        return jobParams;
    }

    public void setJobParams(List<JobParam> jobParams) {
        this.jobParams = jobParams;
    }

    public String getNaFilter() {
        return naFilter;
    }

    public void setNaFilter(String naFilter) {
        this.naFilter = naFilter;
    }

    public List<Long> getJobIds() {
        return jobIds;
    }

    public void setJobIds(List<Long> jobIds) {
        this.jobIds = jobIds;
    }

    public String getDayBegin() {
        return dayBegin;
    }

    public void setDayBegin(String dayBegin) {
        this.dayBegin = dayBegin;
    }

    public String getDayEnd() {
        return dayEnd;
    }

    public void setDayEnd(String dayEnd) {
        this.dayEnd = dayEnd;
    }

    public String getExecutorParam() {
        return executorParam;
    }

    public void setExecutorParam(String executorParam) {
        this.executorParam = executorParam;
    }

    public int getTemplateId() {
        return templateId;
    }

    public void setTemplateId(int templateId) {
        this.templateId = templateId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
